<html>
    <head>
        <title>Test</title>
        <style></style>
        <script>

document.ready = function() {
  document.body.append(<p>document.body instanceof HTMLBodyElement - {document.body instanceof HTMLBodyElement}</p>);
}

        </script>
    </head>
    <body></body>
</html>